From 33500b568cf173fde47f6232bc500cb2b3624afb Mon Sep 17 00:00:00 2001 From: Raymond Penners Date: Thu, 11 Sep 2003 18:44:39 +0000 Subject: [PATCH] Notebook regression fixed --- modules/engines/ms-windows/wimp_style.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/engines/ms-windows/wimp_style.c b/modules/engines/ms-windows/wimp_style.c index eeec05478f..61ac88cd10 100755 --- a/modules/engines/ms-windows/wimp_style.c +++ b/modules/engines/ms-windows/wimp_style.c @@ -1237,8 +1237,8 @@ draw_extension(GtkStyle *style, GtkNotebook *notebook = GTK_NOTEBOOK(widget); GtkPositionType pos_type = gtk_notebook_get_tab_pos(notebook); - if (pos_type == GTK_POS_TOP) - height += XP_EDGE_SIZE; + if (pos_type == GTK_POS_TOP && state_type == GTK_STATE_NORMAL) + height += XP_EDGE_SIZE; #if 0 /* FIXME: pos != TOP to be implemented */ -- 2.30.2